package com.knowledge.knowledge_notes.service;

import com.knowledge.knowledge_notes.pojo.AdminRole;

import java.util.Arrays;
import java.util.List;
import java.util.Set;

public interface AdminRoleService {
    List<AdminRole> listRolesByUser(String username);

    Set<String> listRolesByUserName(String username);

    public List<AdminRole> listWithPermsAndMenus();

    void addOrUpdate(AdminRole requestRole);

    void editRole(AdminRole requestRole);

    void deleteRole(AdminRole requestRole);

    Set<String> queryUserAuths(String username);
}
